package model.security;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;


/**
 * UsrRes entity. @author MyEclipse Persistence Tools
 */

public class UsrRes  implements java.io.Serializable {


    // Fields    

     private Integer resid;
     private String resname;
     private String resdesc;
     private String restype;
     private String reslink;
     private Integer priority;
     private Boolean enabled;
     private Boolean isadmin;
     private Timestamp createtime;
     private Set usrAuthReses = new HashSet(0);


    // Constructors

    /** default constructor */
    public UsrRes() {
    }

    
    /** full constructor */
    public UsrRes(String resname, String resdesc, String restype, String reslink, Integer priority, Boolean enabled, Boolean isadmin, Timestamp createtime, Set usrAuthReses) {
        this.resname = resname;
        this.resdesc = resdesc;
        this.restype = restype;
        this.reslink = reslink;
        this.priority = priority;
        this.enabled = enabled;
        this.isadmin = isadmin;
        this.createtime = createtime;
        this.usrAuthReses = usrAuthReses;
    }

   
    // Property accessors

    public Integer getResid() {
        return this.resid;
    }
    
    public void setResid(Integer resid) {
        this.resid = resid;
    }

    public String getResname() {
        return this.resname;
    }
    
    public void setResname(String resname) {
        this.resname = resname;
    }

    public String getResdesc() {
        return this.resdesc;
    }
    
    public void setResdesc(String resdesc) {
        this.resdesc = resdesc;
    }

    public String getRestype() {
        return this.restype;
    }
    
    public void setRestype(String restype) {
        this.restype = restype;
    }

    public String getReslink() {
        return this.reslink;
    }
    
    public void setReslink(String reslink) {
        this.reslink = reslink;
    }

    public Integer getPriority() {
        return this.priority;
    }
    
    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public Boolean getEnabled() {
        return this.enabled;
    }
    
    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Boolean getIsadmin() {
        return this.isadmin;
    }
    
    public void setIsadmin(Boolean isadmin) {
        this.isadmin = isadmin;
    }

    public Timestamp getCreatetime() {
        return this.createtime;
    }
    
    public void setCreatetime(Timestamp createtime) {
        this.createtime = createtime;
    }

    public Set getUsrAuthReses() {
        return this.usrAuthReses;
    }
    
    public void setUsrAuthReses(Set usrAuthReses) {
        this.usrAuthReses = usrAuthReses;
    }
   








}